home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Code
/
Chapter Code.exe
/
Chapter08
/
rgb_cube.S3D
< prev
next >
Wrap
Text File
|
2000-06-28
|
1KB
|
61 lines
Background {
color 0 0 0
}
DEF Box01 Transform {
translation 0 0 0
children [
Transform {
translation 0 -1 0
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0 1 0
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
MultiAppearance {
material Material {
diffuseColor 0 0 1
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
MultiAppearance {
material Material {
diffuseColor 0.9804 0.04706 0.04706
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
}
]
geometry MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-1 0 1 1 0 1 -1 0 -1 1 0 -1 -1 2 1 1 2 1 -1 2 -1 1 2 -1
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
1 -1 1 -1 1 -1 1 -1 2 -1 2 -1 3 -1 3 -1 2 -1 2 -1 3 -1 3 -1
]
appearanceIndex [
0 0 0 0 1 1 2 2 1 1 2 2
]
textureMappings [
]
}
}
]
}
]
}